package com.atguigu.gulimall.product.service;

import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.CategoryEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author liuyi
 * @email ther661@163.com
 * @date 2021-08-04 17:36:04
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 展示所有商品的分类, 及子分类
     *
     * @return
     */
    List<CategoryEntity> listWithTree();

    void removeMenusByIds(List<Long> asList);
}

